package com.easy.dfc.mapper;


import com.easy.core.persistence.annotation.MyBatisMapper;
import com.easy.dfc.entity.Userset;
import com.easy.dfc.entity.UsersetWithBLOBs;
import org.apache.ibatis.annotations.Param;

@MyBatisMapper

public interface UsersetMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UsersetWithBLOBs record);

    int insertSelective(UsersetWithBLOBs record);

    UsersetWithBLOBs selectByPrimaryKey(Integer id);

    UsersetWithBLOBs selectByUserId(String UserId);

    int updateByPrimaryKeySelective(UsersetWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(UsersetWithBLOBs record);

    int updateByPrimaryKey(Userset record);

    Integer getUserId(@Param(value = "userId") String userId);
}